﻿using System;
using ServerFrame;

namespace ServerApp
{
	/// <summary>
	/// 消息处理中心 负责消息的分发处理
	/// </summary>
	public class HandlerCenter:AbsMessageCenter
	{

		public override void OnClientConnected (MyToken token)
		{
			Console.WriteLine ("有客户端连接"  +token.socket.AddressFamily);

		}

		public override void OnClientClose (MyToken token, string error)
		{
			//base.OnClientClose (token, error);
		}
	}
}

